const dev = {
    environment: {
        name: 'dev',
        domain: 'https://dev.sgcctd.cn',
        api: 'apiDev',
        apiImg: 'apiImg'
    }
}
// 编译之后，在服务器里运行
const product = {
    environment: {
        name: 'product',
        domain: window.location.origin,
        api: '/api',
        apiImg: '/'
    }
}
let config = process.env.NODE_ENV == 'development' ? dev : product
config.version = '1.0.0'
module.exports = config